﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SelectClass.aspx.cs" Inherits="SControls_SelectClass" %>
<%@ Register Src="~/UIControls/WUC_Class.ascx" TagName="WUC_Class" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>选择一级类别</title>
    <style type="text/css">
    body{ font-size: 9pt; }
    </style>
    
    <base target="_self"/>
    <meta http-equiv="expires" content="0" /><!--页面不被缓存-->
</head>
<body>
<link id="mylink" href="../AdminCMS/css/style<%=UIMethod.GetStyleValue()%>.css" type="text/css" rel="stylesheet"/>
<form id="form1" runat="server">

<table cellSpacing="0" cellPadding="0" width="100%" class="border">
		<tr>
			<td class="tdbg_left" style="text-align:center;">			
                <uc1:WUC_Class ID="WUC_Class1" runat="server" ClassTitle="栏目分类:" />
			</td>			
		</tr>
		<tr>
		    <td style="text-align:center; height:40px;"><input type="button" value="确定" onclick="doOK();" /></td>
		</tr>		
</table>		
		
		<!--阴影-->
	<div style="width:98%;" class="tdbg_left2">
	</div>
	<!--阴影end-->
		
    </form>
</body>
</html>
<script type="text/javascript">
//获取传递的参数
var Selected = window.dialogArguments;
var obj = document.getElementById("<%= WUC_Class1.Client_ClassID %>");
if( typeof(Selected) != "undefined" && Selected != "")
{
    obj.value = Selected;
}

function doOK() {    
    window.returnValue = obj.value;
    window.close();
}
</script>